package com.yangle.shell.bean;

import lombok.Data;
import lombok.ToString;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Proxy;
import org.springframework.context.annotation.Lazy;

import javax.persistence.*;
import java.util.Date;

/**
 * company: www.abc.com
 * Author: 10635
 * Create Data: 2020/12/1
 */
@Entity
@Table(name = "product_category")
@Data
@DynamicUpdate

public class ProductCategory {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer categoryId;
    @Column(name="category_name")
    private String categoryName;
    @Column(name="category_type")
    private Integer categoryType;
    @Column(name="create_time")
    private Date createTime;
    @Column(name="update_time")
    private Date updateTime;


}
